package com.feituan.core.persistence.mapper;

import com.feituan.core.pojo.entity.Merchant;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.mapstruct.Mapper;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author xiaohu
 * @since 2024-05-09
 */
@Mapper
public interface MerchantMapper extends BaseMapper<Merchant> {
    String selectProducts(@Param("id") long id);

    void updateProducts(@Param("id") long id,@Param("value")String productJson);
}
